package vip.meeet.tool.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.concurrent.TimeUnit;

public class PrintLog {

    private static final Logger loggerb = LoggerFactory.getLogger(PrintLog.class);

    public static void main(String[] args) throws InterruptedException {
//        Logger logger = LoggerFactory.getLogger("appLog");
//        Logger logger = LoggerFactory.getLogger("register");
        while (true){
//            logger.error("error");
            loggerb.error("error:{} is {} haha {}","allen",20,23.1);
            TimeUnit.MILLISECONDS.sleep(500);
        }
    }
}
